﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Xml.Serialization;
using System.Runtime.Serialization;

namespace imeem.library
{
    [XmlRoot("item")]
    public class Item 
    {
        private string _id;
        private ItemType _type;
        private string _url;

        [XmlElement("id")]
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }

        [XmlElement("type")]
        public ItemType Type
        {
            get { return _type; }
            set { _type = value; }
        }

        [XmlElement("url")]
        public string URL
        {
            get { return _url; }
            set { _url = value; }
        }
    }    
}
